﻿<views:WelcomeView
    x:Class="SpaceNeedle.x6473.WindowsPhone.Views.Welcome"
    xmlns="http://schemas.microsoft.com/winfx/2006/xaml/presentation"
    xmlns:views="clr-namespace:SpaceNeedle.x6473.WindowsPhone.Views"
    xmlns:controls="clr-namespace:SpaceNeedle.x6473.WindowsPhone.Controls"
    xmlns:viewmodels="clr-namespace:SpaceNeedle.x6473.WindowsPhone.ViewModels"
    xmlns:x="http://schemas.microsoft.com/winfx/2006/xaml"
    xmlns:phone="clr-namespace:Microsoft.Phone.Controls;assembly=Microsoft.Phone"
    xmlns:shell="clr-namespace:Microsoft.Phone.Shell;assembly=Microsoft.Phone"
    xmlns:d="http://schemas.microsoft.com/expression/blend/2008"
    xmlns:mc="http://schemas.openxmlformats.org/markup-compatibility/2006"
    FontFamily="{StaticResource PhoneFontFamilyNormal}"
    FontSize="{StaticResource PhoneFontSizeNormal}"
    Foreground="{StaticResource PhoneForegroundBrush}"
    SupportedOrientations="Portrait" Orientation="Portrait"
    mc:Ignorable="d"
    shell:SystemTray.IsVisible="True" shell:SystemTray.Opacity="0">

    <!--LayoutRoot is the root grid where all page content is placed-->
    <Grid x:Name="LayoutRoot" Background="Transparent">
        <Grid.RowDefinitions>
            <RowDefinition Height="Auto"/>
            <RowDefinition Height="*"/>
        </Grid.RowDefinitions>
        <Image HorizontalAlignment="Center" Grid.RowSpan="2" VerticalAlignment="Center" Source="{Binding BestResolutionImage, Source={StaticResource MultiResImageChooser}}" Stretch="UniformToFill"/>

        <Image Source="/Assets/microsoft-200.png" Width="200" VerticalAlignment="Top" Margin="0,80,0,0" Stretch="None" Grid.RowSpan="2"/>

        <!--TitlePanel contains the name of the application and page title-->
        <StackPanel VerticalAlignment="Center" Grid.RowSpan="2" HorizontalAlignment="Center">
            <Image Source="/Assets/Splash/6473-336.png" Width="150"/>

            <TextBlock Text="Cidadão" FontSize="56" Margin="0,-30,20,0" Foreground="White" FontWeight="Bold"/>
            <TextBlock Text="Conectado" FontSize="28" Margin="20,0,0,0" Foreground="White" FontWeight="Light" HorizontalAlignment="Right"/>
        </StackPanel>

        <!--ContentPanel - place additional content here-->
        <Grid x:Name="ContentPanel" Grid.Row="1" Margin="12,0,12,0">
            <Button x:Name="entrarButton" BorderBrush="{x:Null}" Content="Entrar" Width="200" Click="OnEntrarButton_Click" VerticalAlignment="Bottom" Height="90" Margin="0,0,0,50" Background="{StaticResource PhoneAccentBrush}" Foreground="White"/>
        </Grid>
        <controls:NewtworkStatusControl/>

    </Grid>

</views:WelcomeView>